<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <div class="row">
        <h3><?php the_title();?></h3>
    </div>
    <div class="page row">
        <div class="main-page row">
            <?php the_content();?>
        </div><!----------end main page------------>
    </div><!------------end page-------------->
<?php endwhile; // end of the loop. ?>
